using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN LoaiThietBiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: LoaiThietBiEntity</para>
	/// <para>Description: ClassLoaiThietBiEntity store data of table LoaiThietBi</para>
	///</summary>

	[DataContract]
	public partial class LoaiThietBiEntity{


		private bool _InternalChangedIsNullLoaiThietBi_ID=true;
		private bool _IsNullLoaiThietBi_ID=true;
		private bool _InternalChangedIsNullMaLoaiThietBi=true;
		private bool _IsNullMaLoaiThietBi=true;
		private bool _InternalChangedIsNullTenLoaiThietBi=true;
		private bool _IsNullTenLoaiThietBi=true;
		private int _LoaiThietBi_ID;
		private string _MaLoaiThietBi;
		private string _TenLoaiThietBi;
		[DataMember]
		public bool IsNullLoaiThietBi_ID{
			get{return _IsNullLoaiThietBi_ID;}
			set{if(!_InternalChangedIsNullLoaiThietBi_ID)_IsNullLoaiThietBi_ID=value;}
		}
		[DataMember]
		public bool IsNullMaLoaiThietBi{
			get{return _IsNullMaLoaiThietBi;}
			set{if(!_InternalChangedIsNullMaLoaiThietBi)_IsNullMaLoaiThietBi=value;}
		}
		[DataMember]
		public bool IsNullTenLoaiThietBi{
			get{return _IsNullTenLoaiThietBi;}
			set{if(!_InternalChangedIsNullTenLoaiThietBi)_IsNullTenLoaiThietBi=value;}
		}
		[DataMember]
		public int LoaiThietBi_ID{
			get{return _LoaiThietBi_ID;}
			set{
				_LoaiThietBi_ID=value;
				if(_LoaiThietBi_ID!=null){
					_IsNullLoaiThietBi_ID=false;
					_InternalChangedIsNullLoaiThietBi_ID=true;
				}
			}
		}
		[DataMember]
		public string MaLoaiThietBi{
			get{return _MaLoaiThietBi;}
			set{
				_MaLoaiThietBi=value;
				if(_MaLoaiThietBi!=null){
					_IsNullMaLoaiThietBi=false;
					_InternalChangedIsNullMaLoaiThietBi=true;
				}
			}
		}
		[DataMember]
		public string TenLoaiThietBi{
			get{return _TenLoaiThietBi;}
			set{
				_TenLoaiThietBi=value;
				if(_TenLoaiThietBi!=null){
					_IsNullTenLoaiThietBi=false;
					_InternalChangedIsNullTenLoaiThietBi=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END LoaiThietBiEntityBase*****************************************/
	/*****************************************************************************************************/
}

